<script>
import ModuleCard from "../../../../../components/business/module-card/index.vue";
import UForm from "../../../../../uni_modules/uview-ui/components/u-form/u-form.vue";
import UFormItem from "../../../../../uni_modules/uview-ui/components/u-form-item/u-form-item.vue";
import FixedFooter from "../../../../../components/business/fixed-footer/index.vue";
import UButton from "../../../../../uni_modules/uview-ui/components/u-button/u-button.vue";
import UTextarea from "../../../../../uni_modules/uview-ui/components/u--textarea/u--textarea.vue";
import Detail from "../../components/station-detail/index.vue";

export default {
  name: "index",
  components: {UTextarea, UButton, FixedFooter, UFormItem, UForm, ModuleCard, Detail },
  data() {
    return {
      formData: {
        field: '设计方案'
      },
      rules: {
        field: [
          { required: true, message: '请选择方案类型', trigger: 'change' }
        ]
      }
    }
  },
  methods: {
    toAudit() {
      uni.navigateTo({
        url: '/pages/investor/home/completion-audit/audit/index'
      })
    }
  }
}
</script>

<template>
  <view class="detail">
    <u--form
        labelPosition="left"
        :model="formData"
        ref="uForm"
        labelWidth="100"
        :labelStyle="{'align-self': 'start', 'font-size': '14px'}"
    >
      <detail />
    </u--form>
    <fixed-footer>
      <u-button
          type="primary"
          class="footer-btn"
          @click="toAudit"
      >审核</u-button>
    </fixed-footer>
  </view>
</template>

<style scoped lang="scss">
</style>
